<?php

namespace app\shop\model;

class Workother extends \ShopModel
{
    protected $table = 'sh_crm_report_check_role';
    public function getuserchek($staff_id){
        return $this->where(["staff_id"=>$staff_id])->find();
    }
    public function deletebyuser($staff_id){
        return $this->where(["staff_id"=>$staff_id])->delete();
    }
    public function add($data){
        return $this->insertGetId($data);
    }
}
